-- GENERATED SPELL FOR [Deepmoss Hatchling] --


function spell0_4263(pUnit, Event) --@Summon Deepmoss Matriarch,Self--
pUnit:FullCastSpellOnTarget(6536,pUnit)
pUnit:RegisterEvent('Sorts_4263', 611, 1)
end

function Sorts_4263(pUnit, Event)
local choix_sorts_4263 = math.random(0, 0)
if choix_sorts_4263 == 0 then
pUnit:RegisterEvent('spell0_4263', 1, 1)
end
end

function mob4263_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4263', math.random(1500, 3000), 1)
end

function mob4263_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4263_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4263_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4263, 1, 'mob4263_Action')
RegisterUnitEvent(4263, 2, 'mob4263_Leave')
RegisterUnitEvent(4263, 3, 'mob4263_Kill')
RegisterUnitEvent(4263, 4, 'mob4263_Die')
